//
//  UserModel.h
//  HuaRun2
//
//  Created by admin on 17/9/4.
//  Copyright © 2017年 Sunny. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserModel : NSObject<NSCoding>
@property (nonatomic , copy) NSString              * roleId;
@property (nonatomic , copy) NSString              * timeZone;
@property (nonatomic , copy) NSString              * firstName;
@property (nonatomic , copy) NSString              * id;
@property (nonatomic , copy) NSString              * roleName;
@property (nonatomic , copy) NSString              * language;
@property (nonatomic , copy) NSString              * type;
@property (nonatomic , copy) NSString              * name;
@property (nonatomic , copy) NSString              * lastName;

@property (nonatomic , copy)   NSString              * refresh_token;
@property (nonatomic , assign) NSInteger              expires_in;
@property (nonatomic , copy)   NSString              * access_token;
@property (nonatomic , copy)   NSString              * password;

//是否记住密码
@property (nonatomic , assign) BOOL              isRememberPsd;

+ (void)saveUserModel:(UserModel *)userModel;
+ (UserModel *)getCurrentUserModel ;

@end
